package com.wantdo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by king on 2017/10/13.
 */
@MapperScan("com.wantdo.mapper")
@ServletComponentScan("com.wantdo.filter")
@SpringBootApplication
@RestController
public class MainControl {
	public static void main(String[] args) {
		SpringApplication.run(MainControl.class,args);
	}


}
